import Taro, { PureComponent } from '@tarojs/taro';
import { View, Text, Button } from '@tarojs/components';

class Index extends PureComponent {

    config = {
        navigationBarTitleText: ''
    }

    state = {}

    componentWillMount() { }
    componentDidMount() {
        Taro.setNavigationBarTitle({
            title: "首页"
        })
    }
    componentWillReceiveProps(nextProps, nextContext) { }
    componentWillUnmount() { }
    componentDidShow() { }
    componentDidHide() { }
    componentDidCatchError() { }
    componentDidNotFound() { }
    render() {
        return (
            <View>
                <Text>Home</Text>
            </View>
        );
    }
}
export default Index;